package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodsYardagePicturesDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodsYardagePicturesMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.GoodsYardagePictures;

@Repository
public class GoodsYardagePicturesDaoImpl implements  GoodsYardagePicturesDao{
	
	@Autowired
	private GoodsYardagePicturesMapper goodsYardagePicturesMapper;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return goodsYardagePicturesMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(GoodsYardagePictures record) {
		return goodsYardagePicturesMapper.insert(record);
	}

	@Override
	public int insertSelective(GoodsYardagePictures record) {
		return goodsYardagePicturesMapper.insertSelective(record);
	}

	@Override
	public GoodsYardagePictures selectByPrimaryKey(Long id) {
		return goodsYardagePicturesMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(GoodsYardagePictures record) {
		return goodsYardagePicturesMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(GoodsYardagePictures record) {
		return goodsYardagePicturesMapper.updateByPrimaryKey(record);
	}
	
	
	
	
}